PyTorch 2.15 MPS optimizations for Apple Silicon

20 10 2026
PyTorch 2.15 MPS optimizations for Apple Silicon

Hugging Face's work on the PyTorch 2.15 MPS backend brings FP8 support, native grouped matmuls, and dedicated Metal kernels to Apple Silicon Macs running macOS 15. Mixture-of-experts models see decoding speedups up to 6.5 times faster on hardware like the M3 Ultra, while memory peaks for video VAE decoding drop from gigabytes of overhead to manageable footprints. The release replaces various MPSGraph bottlenecks with direct Metal execution for single-row linear layers, softmax, and common linear algebra operations.

It is worth adopting if you are actively running local inference or fine-tuning models on a modern Mac and hitting previous memory or fallback walls. However, the catch is the strict hardware floor requiring macOS 15 and Python 3.11, meaning older setups get left behind without an upgrade path. Skip this if you are strictly bound to CUDA infrastructure, as parity with NVIDIA hardware is still incomplete.

more: https://huggingface.co/blog/mps-pytorch-2-15


Actions

Information

Leave a Reply